package com.ushine.web.component.design.chain.demo;

import com.ushine.web.component.design.chain.demo.config.AbstractRequestHandler;
import com.ushine.web.component.design.chain.demo.model.RequestChainBO;
import com.ushine.web.component.http.HttpResponseVO;
import org.springframework.stereotype.Component;

/**
 * @Author: yls
 * @Date: 2021/12/24 10:33
 * @Description: 用户级的验证
 * @Version 1.0
 */
@Component
public class UserStatusHandler extends AbstractRequestHandler {

    @Override
    protected HttpResponseVO<Object> process(RequestChainBO requestChainBO) {
        return new HttpResponseVO<>().ok("用户状态验证通过!");
    }
}
